package com.itmuch.cloud;/**
 * Created by luochangyong on 2020/3/10.
 */

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author luochangyong
 * @description
 * @copyright Copyright (C) 2020 SHEIN, Inc. All rights reserved. <br>
 * @company 南京领添科技有限公司
 * @date 2020年 03月10日 14:49:21
 */
@RestController
public class ConfigClientController {
    @Value("${profile}")
    private String profile;

    @GetMapping("/profile")
    public String getProfile(){
        return this.profile;
    }
}